package util;

import lombok.AllArgsConstructor;
import lombok.Data;

import javax.servlet.http.HttpServlet;

@AllArgsConstructor
@Data
public class ResultUtils  {
    private int succ;
    private Object data;
    private String msg;

    public static ResultUtils toResult(int succ,Object data,String msg){
        ResultUtils resultUtils=new ResultUtils(succ,data,msg);
        return resultUtils;
    }

}
